Lets now go through some
of the common mistakes and understand the best practices to be
followed while performing the exercises. Before you do that, answer the following
questions while performing the practice exercise is
the user interface or UI designed with richer user experience or
UX. Are the menus, toolbar and video content all designed using
the styled components package. Are the appropriate icons
used in the design? Are the appropriate tool
tips added to the icons? All right. Things for you to note. The written code should be aesthetic in
look and feel and it should have a good color combination and font size
aligned with respect to display size. The component should be designed and coded
using the styled look of styled package, which should also share a common palate
and topography using a theme object. All the icons should be
the same as the screenshot and must be used from font awesome or
material icons. All the icons should have tool tips
with them stating their functionality in one line. The following are some of the common
mistakes made while performing the exercises. Having redundancy of similar styling code
leading to inconsistency in the app. Maintaining a file where all common styles
can be added and reusing this file. Passing generic terms
such as class name for I in the style object of
the styled components. Using the attribute method of
styled instance to place attributes such as class name, maintaining
global styles using app dot CSS. Using the create global style method
to add the global styles attribute for your app. While avoiding the common mistakes,
notes some of the best practices to write efficient hypertext
markup language, or HTML codes. Ensure the icons across the section
of you are of the same size. Ensure the contents in
the toolbar are well aligned. Always use tool tips with icons. Ensure the descriptions on the video
card are not more than two lines.